A Practical Guide to VBA development
TANGDA Appendix Articles
VBA (Visual Basic for application) is a two-time development tool with Office, which can be a great convenience for everyday office. This article describes common objects and their associated properties, methods, and events (including Word, Excel, PowerPoint, and so on) for
(4) forms and related control objectsThe VBA editor is very similar to VB, so it also provides forms and related controls. However, due to the characteristics of office, there are some differences between forms, controls and VB in VBA.
1. User form knowledge point
A form is an interface for implementing program and user interaction. It not only improves the interface friendliness of the program, but also fu
, replacing bookmarks, and deleting bookmarks.
(3) set the wizard entry: The Wizard must be triggered by a specific event. We recommend that you enter the code to call the wizard entry in the "new" event of the "thisdocument" object. Events of the Document Object include new events (triggered when a template-based document is created. Based on functional analysis, the Wizard program portal executes the event), Open events (triggered when the document is opened), and close events (triggered when
During the VBA programming process, one of the most admirable actions is to look in the "References" dialog box, which is very eye-consuming.I used vb.net to do an executable program, you can add the most commonly used XML file references to the VBA project, you can also save the VBA project references to the XML file collection.See the following dynamic diagram
This article describes three different ways that VBA refers to a worksheet name.VBA reference worksheets are very common in the process of learning VBA.This article provides three types of VBA reference worksheets, which are all three ways to implement VBA referencing a work
There are two ways of referencing in excle, for example: the first column of the first row of cells can be: A1 can also be R1C1The code to toggle the reference style is as follows:Sub Toggle Reference style () ' toggle to A1 style MsgBox ' has switched to R1C1 style! ' switch to R1C1 style MsgBox ' has switched to A1 style! theEndSubThe following results are performed:Accessories download"
C Standard Library Reference Guide series translations
Author: poechant
Blog: blog.csdn.net/poechant
Email: zhongchao.ustc@gmail.com
Date: February 26Th, 2012
Ref: The C standard library Guide
This series of translations is being updated continuously(1) assert. HC standard Library Reference
);
/* Rest of code */
}
Int main (void)
{
Open_record (null );
}
(1) assert. HC standard Library Reference Guide series (2) ctype. HC standard Library Reference Guide series (3) errno. HC standard Library Reference Guide series
. If the signal call fails, returnSig_errAnd setErrnoSet a reasonable value.
9.3. Raise
Statement:
Int raise (intSIG);
GenerateSIGSignal.SIGParameters must matchSIGMacro compatibility.
If the call is successful, 0 is returned. Otherwise, a non-zero value is returned.
Instance:
# Include
# Include
Void catch_function (INT );
Int main (void)
{
If (signal (SIGINT, catch_function) = sig_err)
{
Printf ("an error occured while setting a signal handler. \ n ");
Exit (0 );
}
Printf ("Raising t
,Char_maxThe maximum value of the unsigned struct type (Uchar_max).
Mb_len_max 1
The maximum number of characters that can contain multiple bytes.
Shrt_min-32767
The minimum value of a short integer.
Shrt_max + 32767
The maximum value of a short integer.
Ushrt_max 65535
The maximum value of the unsigned short integer.
Int_minutes-32767
The minimum value of an integer.
Int_max + 32767
The maximum value of an integer.
" NBSP;NBSP;NBSP;NBSP; LAZYNBSP; var businesscardname:string={ return "mr.krakenaka" +self.petname NBSP;NBSP;NBSP;NBSP; } () }
When calling closure in a lazy load variable, there is no need to add unowned self because there is no retain closure. The variable simply assign the result of the closure to itself, and the closure is immediately destroyed when it is used. The following is a good proof of this. (is a copy of the thick-skinned comment area алексей)SummarizeRefere
list (that isAP) Followed by another parameter.Type. Note:APMust beVa_startInitialization. If no parameter is set, the result is undefined.
10.4. va_end
Statement:
Void va_end (va_listAP);
Allows a macro with parameters to be called.Va_start. IfVa_endIf the function is not called before return, the result is undefined. Parameter ListAPAfterVa_endAfter and not calledVa_startIt cannot be used before.
Instance:
# Include
# Include
Void sum (char *, Int ,...);
Int main (void)
{
Sum ("the sum
ifSetjmpReturnValueThe value of the variable is the same. VariableValueThe value is not returned to 0. If 0 is passed, 1 is used instead. If the function that calls setjmp has been terminated, the return value is uncertain.
Instance:
# Include
# Include
Void some_function (jmp_buf );
Int main (void)
{
Int value;
Jmp_buf environment_buffer;
Value = setjmp (environment_buffer );
If (value! = 0)
{
Printf ("reached this point from a longjmp with value = % d. \ n", value );
Exit (0 );
}
Print
character. If a character Meets the appropriate conditions, it will be converted by this function. Otherwise, the function returns the original character.
Condition:
Tolower
If it is an upper-case letter, it is converted to a lower-case letter.
Toupper
If it is a lowercase letter, it is converted to the corresponding uppercase letter.
Instance:
# Include
# Include
# Include
Int main (void)
{
Int loop;
Char string [] = "this is a test ";
For (loop = 0; loop
cute pop-up window ToolPractical tutorials from spyrestudios
How to make all browsers correctly render HTML5 labels, or even IE6From nettuts + site
Make HTML5 and css3 no longer pityTools and technologies that make HTML5 and css3 more cross-browser compatible
Implement HTML5 dragA tutorial from nettuts +
My 5 HTML coding habitsPersonal coding preferences and guidance
HTML5 micro-data: Welcome to machine worldAn overview of microdata specifications
Combined with css3 and HTML5 TechnologiesA tut
Protocol Buffer Basics:python
This tutorial provides a basic introductory tutorial for Python programmers using protocol buffers. By creating a simple sample application, it shows you how to
* Define the format of the message in a. proto file.
* Use protocol buffer compiler.
* Read and write the message using the Python protocol buffer API.
This is not a comprehensive guide to using protocol buffers in Python. For more detailed
other Web programming languages, you need to use HTML.
It is easy to detect whether a Web site is in a Trojan. and prevention of Web Trojans.
Can be advanced to a higher level: DIV+CSS Web design.
After reading the manuals and tutorials of the W3cschool online tutorials, you can run the appropriate programming examples to help understand.
Is it difficult to learn HTML?It's hard for beginners to make a website, but that's not the case! Making a website is actually a very simple
interface, in fact. NET can do a lot of things, this part if you want to introduce, you need to open another post.Interaction with the Operating SystemMaxScript interacts with the operating system, like access to the Clipboard (2008 is new, but max9 can be used.) NET to do, so to speak. NET is a powerful addition to maxscript), getting the operating system's date, getting the Windows directory, and so on.MAXScript DebuggerMaxScript debugging operation, how to say, I personally do not like this
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.